package com.roncoo.permission.service.impl;

import com.roncoo.permission.entity.TMenu;
import com.roncoo.permission.dao.TMenuMapper;
import com.roncoo.permission.service.ITMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yuechuanhao
 * @since 2021-03-29
 */
@Service
public class TMenuServiceImpl extends ServiceImpl<TMenuMapper, TMenu> implements ITMenuService {

    @Resource
    private TMenuMapper tMenuMapper;

    @Override
    public List<TMenu> menuAll() {
        return tMenuMapper.menuAll();
    }
}
